class CreateRegions < ActiveRecord::Migration
  def change
    create_table :regions do |t|
      t.string :code
      t.string :parent_code
      t.string :name
      t.string :alias
      t.string :pinyin
      t.string :abbr
      t.string :zip
      t.integer :level

      t.timestamps null: false
    end
  end
end
